package com.mdoya.exception;

import lombok.Data;

/**
 * @author mdoya
 * @version 1.0
 * @description:
 */
@Data
public class BusinessExceptiion extends RuntimeException {
    private Integer code;
    public BusinessExceptiion() {
        super();
    }

    public BusinessExceptiion(Integer code, String message) {
        super(message);
        this.code= code;
    }

    public BusinessExceptiion(Integer code, String message, Throwable e) {
        super(message, e);
        this.code= code;
    }
}
